import { storeToRefs } from "pinia";
import { formStore } from "./form";

export const getTagTableConfig = () => {
  const store = storeToRefs(formStore());
  return store.tag.value;
};

export const getGoodsTableConfig = () => {
  const store = storeToRefs(formStore());
  return store.goods.value;
};

export const getQueueTableConfig = () => {
  const store = storeToRefs(formStore());
  return store.queue.value;
};
